ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 11 - No. 14)

In the totaling example, how does the code update the total weight?
By assigning the current Weight to TotalWeight.
By subtracting the Weight from the TotalWeight.
By adding Weight to TotalWeight.
By multiplying Weight with TotalWeight.

Förklaring

It adds weight to the existing total.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc